Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-Request #406 a slot to modify forms #407

Closed

Conversation

joneppie
Copy link

Solve #406

@NamelessCoder
Copy link
Member

Thanks for the feature suggestion, @joneppie - but we already have something that lets you do this in one of two ways. Use Flux's hooks. There is one for when the form is built (which receives the TCEForms DS array) and another for when the form is retrieved from a template (which receives the PHP form object instance).

See FluidTYPO3/flux@1f76e8a for further information how to subscribe to hooks. The HookHandler class has constants with names of all hooks that you can subscribe to and if you "find all usages" in your IDE you will see where exactly in the code each one is called and what variables are in the payload data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants